home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / tag_bbs / tags26c.zip / BBS26C.ZIP / FILETEST.BAT < prev    next >
DOS Batch File  |  1992-05-19  |  532b  |  33 lines

  1. if %3==ZIP goto ziptest
  2. if %3==ARJ goto arjtest
  3. if %3==ARC goto arctest
  4. if %3==LZH goto lzhtest
  5. if %3==PAK goto paktest
  6.  
  7. rem **********************************************************
  8. rem *** File not an archive or archive type not recongized ***
  9. rem **********************************************************
  10. goto end
  11.  
  12. :ziptest
  13. pkunzip -t %1%2.%3
  14. goto end
  15.  
  16. :arjtest
  17. arj t %1%2.%3
  18. goto end
  19.  
  20. :arctest
  21. pkxarc -t %1%2.%3
  22. goto end
  23.  
  24. :lzhtest
  25. lha t %1%2.%3
  26. goto end
  27.  
  28. :paktest
  29. pak /t %1%2.%3
  30. goto end
  31.  
  32. :end
  33.